projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bb9bb0
)
* src/.gdbinit (xxwidget): Add an optional parameter.
author
Grégoire Jadi
<gregoire.jadi@gmail.com>
Tue, 16 Jul 2013 17:41:08 +0000
(19:41 +0200)
committer
Grégoire Jadi
<gregoire.jadi@gmail.com>
Tue, 16 Jul 2013 17:41:08 +0000
(19:41 +0200)
src/.gdbinit
patch
|
blob
|
history
diff --git
a/src/.gdbinit
b/src/.gdbinit
index 2668772c2ed0faf01c92aa3e67c4740551ee45b6..50f4b11238a4e41b4f3183a08ef625d34d208c4a 100644
(file)
--- a/
src/.gdbinit
+++ b/
src/.gdbinit
@@
-993,7
+993,11
@@
Print $ as a scrollbar pointer.
end
define xxwidget
- xgetptr $
+ if $argc == 1
+ xgetptr $arg0
+ else
+ xgetptr $
+ end
set $xw = (struct xwidget *) $ptr
print $xw
printf " Type: "